package ace.module.mail.address.core.impl.dao.repository;

import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springframework.stereotype.Repository;
import java.util.Optional;

import ace.module.mail.address.core.impl.dao.entity.MadApplication;
import ace.module.mail.address.core.impl.constant.MailAddressCoreConstant;

/**
* 邮寄地址应用 repository.
*
* @author Caspar
*/
@DS(MailAddressCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface MadApplicationRepository extends QuerydslJdbcBaseRepository<MadApplication,Long> {


  MadApplication getByOutTypeAndOutIdAndDeleteFlag(String outType, String outId, Long deleteFlag);
}